<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html >
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:f="http://java.sun.com/jsf/core"
      xmlns:ui="http://java.sun.com/jsf/facelets"
      xmlns:p="http://primefaces.org/ui"> 

<ui:composition>
<div class="row-fluid" style="background: #FFFFFF;">
	<div class="span1"></div>
	<div class="span10">
		<h3>Login</h3>
		<br />
		
		<h:form prependId="false" id="formLogin">
		<p:growl id="growl" sticky="true" showDetail="true" />
			<div class="span12">
				<div class="span3">
					<h:outputLabel for="usuario" value="Usuario: *" />
				</div>
				<div class="span5">
					<p:inputText id="usuario" value="#{autenticador.user.login}" required="true" label="Usuario" />
				</div>
				<div class="span2"></div>
			</div>
			<div class="span12">
				<div class="span3">
					<h:outputLabel for="senha" value="Senha: *" />
				</div>
				<div class="span5">
					<p:password id="senha" value="#{autenticador.user.senha}" required="true" label="Senha" />	
				</div>
				<div class="span2"></div>
			</div>
				
			<div class="span12">
				<div class="span3">
					<p:commandButton id="btSalvar" value="Salvar" action="#{autenticador.autenticarLogin()}" icon="ui-icon-check" style="margin:0; margin-top:15px;" />
				</div>
			</div>
			<div class="span12"></div>
			<div class="span12"></div>
		</h:form>
	</div>
	<div class="span1"></div>
</div>
</ui:composition>
</html>